import request from '@/utils/requestMd5'

export function sku_index(params) {
  return request({
    url: '/sku/index',
    method: 'get',
    params
  })
}

export function goods_delete(data) {
  return request({
    url: '/goods/delete',
    method: 'post',
    data:data
  })
}

export function sku_changeStatus(data) {
  return request({
    url: '/sku/changeStatus',
    method: 'post',
    data:data
  })
}

export function goods_changeStatus(data) {
  return request({
    url: '/goods/changeStatus',
    method: 'post',
    data:data
  })
}

export function sku_changeField(data) {
  return request({
    url: '/sku/changeField',
    method: 'post',
    data:data
  })
}

export function sku_batchStatus(data) {
  return request({
    url: '/sku/batchStatus',
    method: 'post',
    data:data
  })
}

export function sku_info(params) {
  return request({
    url: '/sku/info',
    method: 'get',
    params
  })
}

export function sku_edit(data) {
  return request({
    url: '/sku/edit',
    method: 'post',
    data:data
  })
}

export function sku_volume(data) {
  return request({
    url: '/sku/volume',
    method: 'post',
    data:data
  })
}

export function skulog_index(params) {
  return request({
    url: '/skulog/index',
    method: 'get',
    params
  })
}


